Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
grapesjs-component-countdown
Advanced tools
Simple countdown component for GrapesJS Editor
gjs-component-countdown
countdown
countdown
blocks
Which blocks to add, default: ['countdown']
(all)defaultStyle
Add default style to blocks, default: truestartTime
Default start time, eg. '2018-01-25 00:00', default: ''endText
Text to show when the countdown is ended, default: 'EXPIRED'dateInputType
Date input type, eg, 'date', 'datetime-local', default: 'date'countdownClsPfx
Countdown class prefix, default: 'countdown'labelCountdown
Countdown label, default 'Countdown'labelCountdownCategory
Countdown category label, default 'Extra'labelDays
Days label text used in component, default 'days'labelHours
Hours label text used in component, default 'hours'labelMinutes
Minutes label text used in component, default 'minutes'labelSeconds
Seconds label text used in component, default 'seconds'npm i grapesjs-component-countdown
or yarn add grapesjs-component-countdown
<link href="path/to/grapes.min.css" rel="stylesheet"/>
<script src="path/to/grapes.min.js"></script>
<script src="path/to/grapesjs-component-countdown.min.js"></script>
<div id="gjs"></div>
<script type="text/javascript">
var editor = grapesjs.init({
container : '#gjs',
plugins: ['gjs-component-countdown'],
pluginsOpts: {
'gjs-component-countdown': {/* ...options */}
}
});
</script>
Clone the repository
$ git clone https://github.com/artf/grapesjs-component-countdown.git
$ cd grapesjs-component-countdown
Install it
$ npm i
Start the dev server
$ npm start
Build before the commit. This will also increase the patch level version of the package
$ npm run build
BSD 3-Clause
FAQs
Simple countdown component for the GrapesJS Editor
The npm package grapesjs-component-countdown receives a total of 4,582 weekly downloads. As such, grapesjs-component-countdown popularity was classified as popular.
We found that grapesjs-component-countdown demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.